﻿#ifndef _ENCODE_TEXTURE_MAGAGER_H_
#define _ENCODE_TEXTURE_MAGAGER_H_
#include "cocos2d.h"
class EncodeTextureMagager
{
public:
	static EncodeTextureMagager* getInstance();
	static void staticFinalize();
private:
	static EncodeTextureMagager* s_pEncodeTextureMagager;
public:
	EncodeTextureMagager();
	~EncodeTextureMagager();
	cocos2d::Texture2D* getEncodeTexture2d(std::string name);
private:
	std::map<std::string, cocos2d::Texture2D*> m_encodeTexture2dMap;
};
#endif
